package com.bootdo.clouddo.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties
public class JedisConfig {
    @Value("${redis.host}")
    public String host;
    
    @Value("${redis.port}")
    public int port;
    
    @Value("${redis.pass}")
    public String pass;
    
    @Value("${redis.database}")
    public int database;
    
    @Value("${redis.maxIdle}")
    public int maxIdle;
    
    @Value("${redis.maxIdle}")
    public int minIdle;
    
    @Value("${redis.maxActive}")
    public int maxActive;
    
    @Value("${redis.maxWait}")
    public String maxWait;
   
 
}